package com.example.dishfo.myapplication.activity.userlogin;

import android.arch.lifecycle.LiveData;

import com.example.dishfo.myapplication.network.resbean.HttpBean;

/**
 *声明一组在登录界面可能被调用的方法
 */
public interface UserAction {
    void onLogin(String user,String pwd);
    void cancelLogin();

    void signUp(String name,String pwd,String email);
    void cancelSignUp();
    LiveData<HttpBean> getSignUpRes();
}
